package org.speed.mes.base.domain.vo;

import org.speed.mes.base.domain.BsWorkstation;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 工位管理视图对象 bs_workstation
 *
 * @author speed-mes
 * @date 2024-06-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BsWorkstation.class)
public class BsWorkstationVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 工位id
     */
    @ExcelProperty(value = "工位id")
    private Long id;

    /**
     * 工位编码
     */
    @ExcelProperty(value = "工位编码")
    private String code;

    /**
     * 工位名称
     */
    @ExcelProperty(value = "工位名称")
    private String name;

    /**
     * 所属产线id
     */
    @ExcelProperty(value = "所属产线id")
    private Long worklineId;

    /**
     * 所属工序id
     */
    @ExcelProperty(value = "所属工序id")
    private Long processId;

    /**
     * 是否启用 0停用 1启用
     */
    @ExcelProperty(value = "是否启用 0停用 1启用")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 所属产线名称
     */
    private String worklineName;

    /**
     * 所属工序名称
     */
    private String processName;
}
